package com.company.cloud.web.controller;

import com.company.cloud.web.service.WebIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/login")
public class LoginController {

    @Autowired
    private WebIndexService webIndexService;

    @RequestMapping("/login")
    public String login(Model model) {
        return "login/login";
    }

    @RequestMapping("/t")
    public String t(Model model){
        model.addAttribute("d","2020-06-20");
        return "login/t";
    }

}
